package com.ziq.zcamp.post

import android.content.Context
import android.content.Intent
import com.ziq.base.base.BaseActivity
import com.ziq.zcamp.bean.post.CampInfo
import com.ziq.zcamp.bean.post.PostMedia
import com.ziq.zcamp.bean.post.PostingDetail
import com.ziq.zcamp.manager.GlobalContextManager
import dagger.hilt.android.AndroidEntryPoint
import java.util.ArrayList


@AndroidEntryPoint
class PublishArticleActivity : BaseActivity() {

    companion object {
        private const val CAMP_INFO = "camp_info"
        private const val IS_FAIL = "is_fail"
        fun startActivity(context: Context, campInfo: CampInfo? = null, isFail: Boolean? = false){
            val intent = Intent(context, PublishArticleActivity::class.java)
            intent.putExtra(IS_FAIL, isFail)
            if(campInfo != null){
                intent.putExtra(CAMP_INFO, campInfo)
            }
            GlobalContextManager.startActivity(context, intent)
        }
    }


}